/*
 * Planet.h
 *
 *  Created on: 05.06.2012
 *      Author: sebastian
 */

#ifndef PLANET_H_
#define PLANET_H_

#include "PhysicalObject.h"
#include "../../utils/Namable.h"
#include "../Resources.h"
#include "../Building.h"

/**
 * @hint moons are planets as well
 */
class Planet: public PhysicalObject, public Namable {
private:
	///resources will be refreshed when the function is called
	SResources resources_; //saves Resources on planet.
	SResources dResources_;
	Time lastResourceRefresh_;

	Building* buildings_[30]; //on every planet can be built 30 buildings ;)
	//low change this^, make it dependent from planet Radius!

public:
	Planet();
	virtual ~Planet();
};

#endif /* PLANET_H_ */
